package com.cybertooth.dbconvenience.query.columns;

import org.junit.Test;

import static org.hamcrest.MatcherAssert.*;
import static org.hamcrest.Matchers.*;

/**
 * <p></p>
 *
 * @author dnelson
 */
public class WhenTransformingColumnsWithUnderscores {
	@Test
	public void theCamelCasedJavaFieldNameIsCreated() {
		ColumnNameTransformer t = new UnderscoreToCamelCase();
		assertThat(t.transform("some_column_WITH_LotS_OF_yuck"), is("someColumnWithLotsOfYuck"));
	}
}
